<%--
  Created by IntelliJ IDEA.
  User: 86147
  Date: 2024/3/7
  Time: 17:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="css/main.css" type="text/css" />
    <script type="text/javascript" src="js/form.js"></script>
    <style>
        #but{
            width: 100px;
            height: 40px;
        }

    </style>
    <title>新用户注册</title>
</head>
<body>
    <!--1.网上书城顶部start-->
    <%@ include file="include/head.jsp"%>
    <!--网上书城顶部 end-->
    <!--2.网上书城菜单列表 start-->
    <%@ include file="include/menu_search.jsp"%>
    <!--网上书城菜单列表end-->
    <!--3.用户注册界面 start-->
<form action="Handle-register.jsp" method="post">
    <p>
    <table align="center" >
        <tr>

            <td width="10%"><p2>新用户注册</p2></td>

        </tr>
    <br/>
        <tr>
            <td>邮箱</td>
            <td>
                <input name="email" type="email"></input>
            </td>
            <td><span id="emailMsg"><p3>请输入有效的邮箱地址</p3></span></td>
        </tr>
        <tr>
            <td>用户名</td>
            <td>
                <input id="username"  name="username" type="text " onblur="checkusername();"/>
            </td>
            <td><span id="usernameMsg"><p3>字母数字下划线1到10位，不能是数字开头</p3></span></td>
        </tr>
        <tr>
            <td>密码</td>
            <td>
                <input id="password" name="password" type="password" onblur="checkpassworld();"/>
            </td>
            <td><span id="passwordMsg"><p3>密码请设置6-16位字符</p3></span></td>
        </tr>
        <tr>
            <td>重置密码</td>
            <td>
                <input name="repassword" type="password">
            </td>
        </tr>
        <tr>
        <td>性别</td>
        <td>
            <input name="sex" type="radio" value="male">男
            <input name="sex" type="radio" value="female">女
        </td>
        </tr>
        <tr>
            <td>联系电话</td>
            <td colspan="3">
                <input name="phonenumber" type="text" >
            </td>
        </tr>

        <tr>
            <td>个人介绍</td>
            <td colspan="2">
                <textarea name="introduction" cols="60" rows="8"></textarea>

            </td>

        </tr>
        <tr>
            <td colspan="2" align="center">
               <form action="Handle-register.jsp" method="post">
                   <input type="image" src="images/signup.gif" name="sumbit" id="but"/>
               </form>
            </td>
        </tr>
    </table>
    </p>
</form>
    <!--用户注册界面 end-->
    <!--4.网上书城下方显示 start-->
    <%@ include file="include/foot.jsp"%>
    <!--网上书城下方显示end-->
</body>
</html>